package com.example.yucheng.service.impl;

import com.example.yucheng.domain.User;
import com.example.yucheng.mapper.LoginMapper;
import com.example.yucheng.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    LoginMapper loginDao;


    @Override
    public User Login(User admin) {
        return loginDao.login(admin);
    }
}
